import { NgModule } from '@angular/core';
import {Routes, RouterModule, PreloadAllModules} from '@angular/router';
//import {HomeComponent} from './views/home/home.component';



const routes: Routes = [
  //{ path: '', component: HomeComponent, pathMatch: 'full' },
  //{
  //  path: 'home',
  //  component: HomeComponent
  //},
  //{
  //  path: 'chat',
  //  loadChildren: 'app/modules/chat/chat.module#ChatModule'
  //}
];

@NgModule({
  imports: [
      RouterModule.forRoot(routes, {preloadingStrategy: PreloadAllModules})
    ],
  exports: [RouterModule]
})
export class AppRoutingModule { }